home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.006 / xemacs-1 / lib / xemacs-19.13 / lisp / prim / cmdloop1.elc < prev    next >
Emacs Compiled Lisp  |  1995-08-29  |  1.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
1% dexvert Combustion 2 Particle Library (other/combustion2ParticleLibrary) ext Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default
100% xdgMime text/x-emacs-lisp default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 63 74 68 6f 6d 70 40 |piled by| cthomp@|
|00000020| 77 69 6c 6c 6f 77 2e 63 | 73 2e 75 69 75 63 2e 65 |willow.c|s.uiuc.e|
|00000030| 64 75 20 6f 6e 20 54 75 | 65 20 41 75 67 20 32 39 |du on Tu|e Aug 29|
|00000040| 20 31 34 3a 32 30 3a 30 | 39 20 31 39 39 35 0a 3b | 14:20:0|9 1995.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 78 65 |;; from |file /xe|
|00000060| 6d 61 63 73 2f 78 65 6d | 61 63 73 2d 31 39 2e 31 |macs/xem|acs-19.1|
|00000070| 33 2d 72 65 6c 65 61 73 | 65 2f 65 64 69 74 6f 72 |3-releas|e/editor|
|00000080| 2f 6c 69 73 70 2f 70 72 | 69 6d 2f 63 6d 64 6c 6f |/lisp/pr|im/cmdlo|
|00000090| 6f 70 31 2e 65 6c 0a 3b | 3b 3b 20 65 6d 61 63 73 |op1.el.;|;; emacs|
|000000a0| 20 76 65 72 73 69 6f 6e | 20 31 39 2e 31 33 20 58 | version| 19.13 X|
|000000b0| 45 6d 61 63 73 20 4c 75 | 63 69 64 2e 0a 3b 3b 3b |Emacs Lu|cid..;;;|
|000000c0| 20 62 79 74 65 63 6f 6d | 70 20 76 65 72 73 69 6f | bytecom|p versio|
|000000d0| 6e 20 32 2e 32 35 3b 20 | 31 2d 53 65 70 2d 39 34 |n 2.25; |1-Sep-94|
|000000e0| 2e 0a 3b 3b 3b 20 6f 70 | 74 69 6d 69 7a 61 74 69 |..;;; op|timizati|
|000000f0| 6f 6e 20 69 73 20 6f 6e | 2e 0a 3b 3b 3b 20 74 68 |on is on|..;;; th|
|00000100| 69 73 20 66 69 6c 65 20 | 75 73 65 73 20 6f 70 63 |is file |uses opc|
|00000110| 6f 64 65 73 20 77 68 69 | 63 68 20 64 6f 20 6e 6f |odes whi|ch do no|
|00000120| 74 20 65 78 69 73 74 20 | 69 6e 20 45 6d 61 63 73 |t exist |in Emacs|
|00000130| 20 31 38 2e 0a 0a 28 69 | 66 20 28 61 6e 64 20 28 | 18...(i|f (and (|
|00000140| 62 6f 75 6e 64 70 20 27 | 65 6d 61 63 73 2d 76 65 |boundp '|emacs-ve|
|00000150| 72 73 69 6f 6e 29 0a 09 | 20 28 6f 72 20 28 61 6e |rsion)..| (or (an|
|00000160| 64 20 28 62 6f 75 6e 64 | 70 20 27 65 70 6f 63 68 |d (bound|p 'epoch|
|00000170| 3a 3a 76 65 72 73 69 6f | 6e 29 20 65 70 6f 63 68 |::versio|n) epoch|
|00000180| 3a 3a 76 65 72 73 69 6f | 6e 29 0a 09 20 20 20 20 |::versio|n).. |
|00000190| 20 28 73 74 72 69 6e 67 | 2d 6c 65 73 73 70 20 65 | (string|-lessp e|
|000001a0| 6d 61 63 73 2d 76 65 72 | 73 69 6f 6e 20 22 31 39 |macs-ver|sion "19|
|000001b0| 22 29 29 29 0a 20 20 20 | 20 28 65 72 72 6f 72 20 |"))). | (error |
|000001c0| 22 54 68 69 73 20 66 69 | 6c 65 20 77 61 73 20 63 |"This fi|le was c|
|000001d0| 6f 6d 70 69 6c 65 64 20 | 66 6f 72 20 45 6d 61 63 |ompiled |for Emac|
|000001e0| 73 20 31 39 2e 22 29 29 | 0a 0a 28 66 73 65 74 20 |s 19."))|..(fset |
|000001f0| 27 72 65 63 75 72 73 69 | 76 65 2d 65 64 69 74 20 |'recursi|ve-edit |
|00000200| 23 5b 6e 69 6c 20 22 08 | 54 18 c1 20 88 70 c2 c3 |#[nil ".|T.. .p..|
|00000210| 20 21 3d 3f ad 81 70 1c | c5 8e c6 c7 8d ab 85 c8 | !=?..p.|........|
|00000220| c9 ca 5c 22 88 2b ca 87 | 22 20 5b 63 6f 6d 6d 61 |..\".+..|" [comma|
|00000230| 6e 64 2d 6c 6f 6f 70 2d | 6c 65 76 65 6c 20 72 65 |nd-loop-|level re|
|00000240| 64 72 61 77 2d 6d 6f 64 | 65 6c 69 6e 65 20 77 69 |draw-mod|eline wi|
|00000250| 6e 64 6f 77 2d 62 75 66 | 66 65 72 20 73 65 6c 65 |ndow-buf|fer sele|
|00000260| 63 74 65 64 2d 77 69 6e | 64 6f 77 20 5f 62 75 66 |cted-win|dow _buf|
|00000270| 20 28 28 62 79 74 65 2d | 63 6f 64 65 20 22 08 ab | ((byte-|code "..|
|00000280| 83 08 71 88 c1 20 87 22 | 20 5b 5f 62 75 66 20 72 |..q.. ."| [_buf r|
|00000290| 65 64 72 61 77 2d 6d 6f | 64 65 6c 69 6e 65 5d 20 |edraw-mo|deline] |
|000002a0| 31 29 29 20 65 78 69 74 | 20 28 62 79 74 65 2d 63 |1)) exit| (byte-c|
|000002b0| 6f 64 65 20 22 c0 89 19 | 1a 0b c0 21 88 aa 7a 22 |ode "...|...!..z"|
|000002c0| 20 5b 74 20 73 74 61 6e | 64 61 72 64 2d 69 6e 70 | [t stan|dard-inp|
|000002d0| 75 74 20 73 74 61 6e 64 | 61 72 64 2d 6f 75 74 70 |ut stand|ard-outp|
|000002e0| 75 74 20 63 6f 6d 6d 61 | 6e 64 2d 6c 6f 6f 70 5d |ut comma|nd-loop]|
|000002f0| 20 32 29 20 73 69 67 6e | 61 6c 20 71 75 69 74 20 | 2) sign|al quit |
|00000300| 6e 69 6c 5d 20 33 20 22 | 5c 0a 49 6e 76 6f 6b 65 |nil] 3 "|\.Invoke|
|00000310| 20 74 68 65 20 65 64 69 | 74 6f 72 20 63 6f 6d 6d | the edi|tor comm|
|00000320| 61 6e 64 20 6c 6f 6f 70 | 20 72 65 63 75 72 73 69 |and loop| recursi|
|00000330| 76 65 6c 79 2e 0a 54 6f | 20 67 65 74 20 6f 75 74 |vely..To| get out|
|00000340| 20 6f 66 20 74 68 65 20 | 72 65 63 75 72 73 69 76 | of the |recursiv|
|00000350| 65 20 65 64 69 74 2c 20 | 61 20 63 6f 6d 6d 61 6e |e edit, |a comman|
|00000360| 64 20 63 61 6e 20 64 6f | 20 60 28 74 68 72 6f 77 |d can do| `(throw|
|00000370| 20 27 65 78 69 74 20 6e | 69 6c 29 27 3b 0a 74 68 | 'exit n|il)';.th|
|00000380| 61 74 20 74 65 6c 6c 73 | 20 74 68 69 73 20 66 75 |at tells| this fu|
|00000390| 6e 63 74 69 6f 6e 20 74 | 6f 20 72 65 74 75 72 6e |nction t|o return|
|000003a0| 2e 0a 41 6c 74 65 72 6e | 61 74 65 6c 79 2c 20 60 |..Altern|ately, `|
|000003b0| 28 74 68 72 6f 77 20 27 | 65 78 69 74 20 74 29 27 |(throw '|exit t)'|
|000003c0| 20 6d 61 6b 65 73 20 74 | 68 69 73 20 66 75 6e 63 | makes t|his func|
|000003d0| 74 69 6f 6e 20 73 69 67 | 6e 61 6c 20 61 6e 20 65 |tion sig|nal an e|
|000003e0| 72 72 6f 72 2e 22 20 6e | 69 6c 5d 29 0a 28 66 73 |rror." n|il]).(fs|
|000003f0| 65 74 20 27 63 6f 6d 6d | 61 6e 64 2d 6c 6f 6f 70 |et 'comm|and-loop|
|00000400| 20 23 5b 28 5f 63 61 74 | 63 68 5f 65 72 72 6f 72 | #[(_cat|ch_error|
|00000410| 73 29 20 22 c0 11 c2 13 | 0c ac 83 c5 20 87 c6 20 |s) "....|.... .. |
|00000420| c7 56 ab 88 c8 c9 ca 8f | ad ac aa 78 0e 0b ab 85 |.V......|...x....|
|00000430| c8 cc cd 8f 88 ce 20 ac | 92 cf d0 20 21 ab 88 d1 |...... .|... !...|
|00000440| d0 20 21 d2 3d ab 84 d3 | d4 21 88 ce 20 ab 84 d3 |. !.=...|.!.. ...|
|00000450| c2 21 88 cb d5 8d 87 22 | 20 5b 6e 69 6c 20 70 72 |.!....."| [nil pr|
|00000460| 65 66 69 78 2d 61 72 67 | 20 74 20 6c 61 73 74 2d |efix-arg| t last-|
|00000470| 63 6f 6d 6d 61 6e 64 20 | 5f 63 61 74 63 68 5f 65 |command |_catch_e|
|00000480| 72 72 6f 72 73 20 63 6f | 6d 6d 61 6e 64 2d 6c 6f |rrors co|mmand-lo|
|00000490| 6f 70 2d 31 20 72 65 63 | 75 72 73 69 6f 6e 2d 64 |op-1 rec|ursion-d|
|000004a0| 65 70 74 68 20 30 20 65 | 20 28 63 6f 6d 6d 61 6e |epth 0 e| (comman|
|000004b0| 64 2d 6c 6f 6f 70 2d 31 | 29 20 28 28 74 20 28 63 |d-loop-1|) ((t (c|
|000004c0| 6f 6d 6d 61 6e 64 2d 65 | 72 72 6f 72 20 65 29 20 |ommand-e|rror e) |
|000004d0| 74 29 29 20 74 6f 70 2d | 6c 65 76 65 6c 20 28 62 |t)) top-|level (b|
|000004e0| 79 74 65 2d 63 6f 64 65 | 20 22 c0 c1 8d 87 22 20 |yte-code| "...." |
|000004f0| 5b 74 6f 70 2d 6c 65 76 | 65 6c 20 28 65 76 61 6c |[top-lev|el (eval|
|00000500| 20 74 6f 70 2d 6c 65 76 | 65 6c 29 5d 20 32 29 20 | top-lev|el)] 2) |
|00000510| 28 28 74 20 28 63 6f 6d | 6d 61 6e 64 2d 65 72 72 |((t (com|mand-err|
|00000520| 6f 72 20 65 29 29 29 20 | 6e 6f 6e 69 6e 74 65 72 |or e))) |noninter|
|00000530| 61 63 74 69 76 65 20 64 | 65 76 69 63 65 70 20 73 |active d|evicep s|
|00000540| 65 6c 65 63 74 65 64 2d | 64 65 76 69 63 65 20 64 |elected-|device d|
|00000550| 65 76 69 63 65 2d 74 79 | 70 65 20 74 65 72 6d 69 |evice-ty|pe termi|
|00000560| 6e 61 6c 20 6b 69 6c 6c | 2d 65 6d 61 63 73 20 2d |nal kill|-emacs -|
|00000570| 31 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 c0 c1 |1 (byte-|code "..|
|00000580| c2 8f ad 82 aa 78 87 22 | 20 5b 65 20 28 63 6f 6d |.....x."| [e (com|
|00000590| 6d 61 6e 64 2d 6c 6f 6f | 70 2d 31 29 20 28 28 74 |mand-loo|p-1) ((t|
|000005a0| 20 28 63 6f 6d 6d 61 6e | 64 2d 65 72 72 6f 72 20 | (comman|d-error |
|000005b0| 65 29 20 74 29 29 5d 20 | 33 29 5d 20 33 20 22 5c |e) t))] |3)] 3 "\|
|000005c0| 0a 54 68 69 73 20 66 75 | 6e 63 74 69 6f 6e 20 69 |.This fu|nction i|
|000005d0| 73 20 74 68 65 20 64 65 | 66 61 75 6c 74 20 76 61 |s the de|fault va|
|000005e0| 6c 75 65 20 6f 66 20 74 | 68 65 20 76 61 72 69 61 |lue of t|he varia|
|000005f0| 62 6c 65 20 63 6f 6d 6d | 61 6e 64 2d 6c 6f 6f 70 |ble comm|and-loop|
|00000600| 2e 22 5d 29 0a 28 62 79 | 74 65 2d 63 6f 64 65 20 |."]).(by|te-code |
|00000610| 22 c0 c1 89 5c 22 87 22 | 20 5b 73 65 74 2d 64 65 |"...\"."| [set-de|
|00000620| 66 61 75 6c 74 20 63 6f | 6d 6d 61 6e 64 2d 6c 6f |fault co|mmand-lo|
|00000630| 6f 70 5d 20 33 29 0a | |op] 3). | |
+--------+-------------------------+-------------------------+--------+--------+